import QtQuick
import QtQuick.Controls

Window {
    property  int a;
    property string  str: "holy fuck"
    id:root
    width: 640
    height: 480
    visible: true
    title: str
    // Rectangle{
    //     x:50
    //     y:50
    //     width: root.width/2
    //     height: 200
    //     color:"black"
    //     Text {
    //         x:100
    //         y:100
    //         text: qsTr("Fuck")
    //         color: "white"

    //     }
    // }
    // Text {
    //     x:100
    //     y:100
    //     text: qsTr("Fuck1")
    //     color: "white"

    // }
    Image {
        width:root.width
        height:root.height
        id:profile
        x:(root.width-profile.width)/2
        source: "file:F:\\1.bmp"
    }
    TextField{
        x:30
        y:210
        width:260
        height: 50
        font.pixelSize: 20
        verticalAlignment: Text.AlignVCenter
        horizontalAlignment: Text.AlignHCenter
        placeholderText: "账号"
    }
    TextField{
        x:30
        y:270
        width:260
        height: 50
        font.pixelSize: 20
        verticalAlignment: Text.AlignVCenter
        horizontalAlignment: Text.AlignHCenter
        placeholderText: "密码"
        echoMode: TextInput.Password
    }
    Button{
        x:30
        y:350
        width:260
        height: 50
        text: "登录"
    }


}
